def my_abs(x):
    if x>=0:
        return x
    else:
        return -x

# print(my_abs(-99))